import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
//*****引入./redux/store 和react-redux封装的{Provider} 用以给给容器传递store（这样redux和容器能互通数据）
import store from './redux/store'
import {Provider} from 'react-redux'

ReactDOM.render(
    {/*给App下面的所有子容器传递store，这样redux能和各子容器传递数据*/}
	<Provider store={store}>
		<App/>
	</Provider>,
	document.getElementById('root')
)